﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.MultiUserAdminPageBase" %>
<section data-page="article_category_list" data-title="文章类别列表">
	<div class="path1"><span>您的位置：</span>文章类别列表</div>
	<div class="content">
		<table data-ali-widget="grid" class="grid1" data-tree="true" data-root="0">
			<thead>
				<tr>
					<th width="40">编号</th>
					<th>名称</th>
					<th width="80">添加文章</th>
					<th width="80">文章列表</th>
					<th width="80">添加子类</th>
					<th width="80">删除</th>
				</tr>
			</thead>
			<tbody>
				<ali:Tree Object="ArticleCategory" Validate="True">
					<ali:Record>
						<tr data-id="<%=InnerID%>">
							<td data-sort="<%=InnerID%>"><%=InnerID%></td>
							<th data-item="<%=ParentChain%>.<%=InnerID%>" data-parent="<%=ParentChain%>"><a href="edit.aspx?ID=<%=InnerID%>" target="ali-navtab"><%=Name%></a></th>
							<td><a href="../article/add.aspx?CategoryID=<%=ID%>" target="ali-navtab">添加文章</a></td>
							<td><a href="../article/list.aspx?CategoryID=<%=ID%>" target="ali-navtab">文章列表</a></td>
							<td><a href="add.aspx?ParentID=<%=ID%>" target="ali-navtab">添加子类</a></td>
							<td><a class="ali-button" data-operation="delete">删除</a></td>
						</tr>
						<%=ChildRecords%>
					</ali:Record>
				</ali:Tree>
			</tbody>
		</table>
	</div>
</section>